package com.ruoyi.data.domain.bo.getData;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.common.core.validate.EditGroupOne;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * 添加数据对象
 *
 * @author ruoyi
 * @date 2023-10-26
 */

@Data
@NoArgsConstructor
public class UserMd5Bo {

    private static final long serialVersionUID = 1L;


    @NotBlank(message = "token不能为空", groups = {  AddGroup.class })
    private String token;

    @NotEmpty(message = "主键不能为空", groups = { AddGroup.class })
    private String userData;

}
